#ifndef FILEPERF_H
#define FILEPERF_H

#include <vector>

struct outputStruct {
    long unsigned int space; 
    double averageAccessNum;
};

enum storageType {
  FS_INODE,
  FS_LINKED_LIST
};

/* returns 0 on success, -1 on failure. Fills 'output' with results. */
int fileSystemPerformance(unsigned int blockSize, unsigned int pointerSize,
			  unsigned int maximalSize, storageType type, 
			  const std::vector<unsigned int> fileSizes,
			  outputStruct *output);

#endif
